// $Id: DBLGenSection.cs 64 2008-05-06 18:29:47Z nvivo $

using System;
using System.Collections.Generic;
using System.Configuration;
using System.Text;

namespace DBLGen.Configuration
{
    public class DBLGenSection : ConfigurationSection
    {
        [ConfigurationProperty("plugins")]
        public PluginElementCollection Plugins
        {
            get
            {
                return (PluginElementCollection) base["plugins"];
            }
        }

        [ConfigurationProperty("export")]
        public ExportElement Export
        {
            get
            {
                return (ExportElement) base["export"];
            }

            set
            {
                base["export"] = value;
            }
        }

        public static DBLGenSection Load()
        {
            return ConfigurationManager.GetSection("dblgen") as DBLGenSection;
        }
    }
}
